<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>



<s:if test="hasActionMessages()">
   <div>
      <s:actionmessage/>
   </div>
</s:if>

<s:if test="hasActionErrors()">
   <div>
      <s:actionerror/>
   </div>
</s:if>

<s:form name="validate" action="validateUser.do" method="POST" theme="simple">
<table width="400" border="0">

  <tr>
    <td>Code </td>
    <td><input name="code" type="text" /></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td><s:submit type="submit" value="Authenticate"/></td>
  </tr>

</table>
</s:form>
